<?php
/**
 * Created by PhpStorm.
 * User: keyth
 * Date: 18-4-8
 * Time: 下午7:09
 */
namespace app\model;
use think\Model;

class Stu_tea_lab extends Model
{
    static public function getTea($id){
        $tea_lab=Tea_lab::get($id);
        return Teacher::get($tea_lab->tea_id);
    }
    static public function getLab($id){
        $Tea_lab=Tea_lab::get($id);
        return Lab::get($Tea_lab->lab_id);
    }


}